services.invoiceplane.sites.<name>.invoiceTemplates
List of path(s) to respective template(s) which are copied from the 'invoice_templates/pdf' directory.
These templates need to be packaged before use, see example.
- Type
list of absolute path- Default
[ ]- Example
let # Let's package an example template template-vtdirektmarketing = pkgs.stdenv.mkDerivation { name = "vtdirektmarketing"; # Download the template from a public repository src = pkgs.fetchgit { url = "https://git.project-insanity.org/onny/invoiceplane-vtdirektmarketing.git"; sha256 = "1hh0q7wzsh8v8x03i82p6qrgbxr4v5fb05xylyrpp975l8axyg2z"; }; sourceRoot = "."; # Installing simply means copying template php file to the output directory installPhase = "" mkdir -p $out cp invoiceplane-vtdirektmarketing/vtdirektmarketing.php $out/ ""; }; # And then pass this package to the template list like this: in [ template-vtdirektmarketing ]- Declared
- <nixpkgs/nixos/modules/services/web-apps/invoiceplane.nix>